﻿<UserControl
  x:Class="CrackNET.InjectedViewer.View.DebugOutput.DebugOutputView"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  >
  <DockPanel Background="{DynamicResource PrimaryBackgroundBrush}">
    <StackPanel DockPanel.Dock="Bottom" Margin="8" Orientation="Horizontal">
      <CheckBox Content="Log Debug Output" IsChecked="{Binding Path=IsLoggingOutput, Mode=TwoWay}" VerticalAlignment="Center" />
      <Button Content="Clear Log" Command="{Binding Path=ClearLogCommand, Mode=OneTime}" Margin="8,0" Width="190" />
      <Button Content="Copy Log to Clipboard" Command="{Binding Path=CopyLogToClipboardCommand, Mode=OneTime}" Width="190" />
    </StackPanel>
    <TextBox FontSize="13" IsReadOnly="True" Text="{Binding Path=DebugOutput, Mode=OneWay}" />
  </DockPanel>
</UserControl>